######VMTK######
FIND_PACKAGE(VMTK)
IF (VMTK_USE_FILE)
   INCLUDE(${VMTK_USE_FILE})
   LIST(APPEND ALL_INCLUDE_DIRECTORIES "${VMTK_CPP_SOURCE_DIRS}/Utilities/vtkvmtkITK" )
   LIST(APPEND ALL_LIBRARIES vtkvmtkSegmentation vtkvmtkMisc vtkvmtkITK vtkvmtkIO vtkvmtkDifferentialGeometry vtkvmtkComputationalGeometry vtkvmtkCommon)
   LINK_DIRECTORIES(${VMTK_LIBRARY_DIRS})
ELSE (VMTK_USE_FILE)
   MESSAGE( FATAL_ERROR "This plugin requires VTMK. One of these components is missing. Please verify configuration")
ENDIF (VMTK_USE_FILE)
######VMTK######

MACRO_CREATE_MITK_PLUGIN(QmitkExt)
